package ace.tool.generate.code.impl.generator.graphql;

import ace.tool.generate.code.impl.generator.graphql.model.GraphqlTemplateModel;

/**
 * @author caspar
 * @date 2023/11/17 9:57 spring data jdbc entity 的解析器
 */
public class GraphqlDtoGenerator extends AbstractGraphqlGenerator<GraphqlDtoGeneratorInput> {

  @Override
  protected String getFileName(
      GraphqlDtoGeneratorInput input, GraphqlTemplateModel graphqlTemplateModel) {
    return String.format("%s.graphqls", input.getParams().getSimpleName());
  }
}
